package com.seagull.sb.security;

import java.io.Serializable;
import java.util.Date;

public class Session implements Serializable {
    // 
    private static final long serialVersionUID = -7483170872690892182L;
     
    private String sessionId;   // id
    private String userId;      // user
    private boolean active;     // session active?
    private boolean secure;     // session secure?
 
    private Date createTime;    // session create time
    private Date lastAccessedTime;  // session last use time
    
    
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public boolean isActive() {
		return active;
	}
	public void setActive(boolean active) {
		this.active = active;
	}
	public boolean isSecure() {
		return secure;
	}
	public void setSecure(boolean secure) {
		this.secure = secure;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLastAccessedTime() {
		return lastAccessedTime;
	}
	public void setLastAccessedTime(Date lastAccessedTime) {
		this.lastAccessedTime = lastAccessedTime;
	}
 
    
}
